package org.airlink.persistence.criteria.expressions
{
	import flex.persistence.criteria.Expression;
	
	import org.airlink.persistence.criteria.PredicateImpl;
	
	public class IsNotNull extends PredicateImpl
	{
		private var expression:Expression;
		
		public function IsNotNull(expression:Expression)
		{
			this.expression = expression;
		}
		
		override public function toString():String{
			var result:String = "";
			result += "(";
			result += this.expression.asValue();
			result += " is not null)";
			return result;
		}
	}
}